﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PCReview.aspx.cs" Inherits="WMS6.Web.Inventory.PCReview" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>PCReview</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        //数量计算
        function CountQty(ReCountQty, SysCountQtyID, ADJQtyID) {
                 
           document.getElementById(ADJQtyID).innerText = ReCountQty.value - document.getElementById(SysCountQtyID).innerText         
        }
        function CheckTrue(chkid, obj, qty) {          
            if (parseInt(obj.value) >= 0 && parseInt(obj.value) != (qty)) {

                if (!document.getElementById(chkid).checked) {
                    document.getElementById(chkid).onclick();
                    document.getElementById(chkid).checked = true;
                }
            }
            else {
                if (document.getElementById(chkid).checked) {
                    document.getElementById(chkid).onclick();
                    document.getElementById(chkid).checked = '';
                }
            }
        }
        //显示 报表 DIV
        function showReport() {
            var pos = getElementPos("htmlbtnReport");
            document.getElementById("reportDiv").style.top = pos.y + 17;
            document.getElementById("reportDiv").style.left = pos.x;
            document.getElementById("hiddenReportFlag").value = '1';
        }
        //隐藏 报表 DIV
        function hiddenReportDiv() {
            var flag = document.getElementById("hiddenReportFlag").value
            if (flag == "1") {
                document.getElementById("reportDiv").style.display = "block";
                document.getElementById("hiddenReportFlag").value = '0';
            }
            else {
                document.getElementById("reportDiv").style.display = "none";
            }
        }
        function showAction() {
            var pos = getElementPos("btnAction");
            document.getElementById("actionDiv").style.top = pos.y + 17;
            document.getElementById("actionDiv").style.left = pos.x;
            document.getElementById("hiddenFlag").value = '1';
        }

        function hiddenDiv() {
            var flag = document.getElementById("hiddenFlag").value
            if (flag == "1") {
                document.getElementById("actionDiv").style.display = "block";
                document.getElementById("hiddenFlag").value = '0';
            }
            else {
                document.getElementById("actionDiv").style.display = "none";
            }
        }
        
        //弹出 打印 物理盘点 初盘工作单 的窗口
        function popPrintPc() {
            var PhysicalRequestID = document.getElementById("txtPhysicalRequestID").value;
            var ShowSystemQty = document.getElementById("chbShowSystemQty").checked;
            var OnlyNonEmptyLoc = document.getElementById('chbOnlyNonEmptyLoc').checked;
            window.open('../Common/PrintReport.aspx?rtype=PCREVIEW&PhysicalRequestID=' + escape(PhysicalRequestID) + '&ShowSystemQty=' + escape(ShowSystemQty) + '&OnlyNonEmptyLoc=' + escape(OnlyNonEmptyLoc), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
            window.location.href = "PcReview.aspx?ID=" + PhysicalRequestID;
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
        }
        
    </script>

</head>
<body>
    <form id="F5561" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="物理盘点复核" 
                            meta:resourcekey="lblOwner"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Enabled="False" Text="返回"
                            AccessKey="b" OnClick="btnGoBack_Click"  />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="保存" Enabled="False"
                            AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="删除" OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;"
                            Enabled="False" Visible="False"  />
                    </td>
                    <td>
                        <input id="btnAction" type="button" value="操作" runat="server" class="button" onclick="showAction();return false;" />
                        <%--<asp:Button ID="btnInputPO" runat="server" Text="导入" style="display:none" onclick="showAction();" onclick="showReport();"
                                onclick="btnInputPO_Click" />      --%>
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="报表" class="button"
                            onclick="showReport();return false;" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                        meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" 
                            meta:resourcekey="one1">常规</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2);"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                            meta:resourcekey="one2">&nbsp;明细&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="360px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblPhysicalRequestID" runat="server" CssClass="label" 
                                        Text="申请编号" meta:resourcekey="lblPhysicalRequestID"></asp:Label><font
                                        class="must_input">*</font>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" 
                                        meta:resourcekey="lblStatus"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtPhysicalRequestID" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtPhysicalRequestID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" 
                                        Enabled="False" meta:resourcekey="ddlStatus">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                        meta:resourcekey="lblDescr"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" 
                                        Enabled="False" meta:resourcekey="txtDescr"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblStartingTagNo" runat="server" CssClass="label" Text="开始标签" 
                                        meta:resourcekey="lblStartingTagNo"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblEndingTagNo" runat="server" CssClass="label" Text="结束标签" 
                                        meta:resourcekey="lblEndingTagNo"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtStartingTagNo" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtStartingTagNo"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtEndingTagNo" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtEndingTagNo"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblPlanStartTime" runat="server" CssClass="label" Text="开始时间" 
                                        meta:resourcekey="lblPlanStartTime"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPlanEndTime" runat="server" CssClass="label" Text="结束时间" 
                                        meta:resourcekey="lblPlanEndTime"></asp:Label>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtPlanStartTime" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtPlanStartTime"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPlanEndTime" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtPlanEndTime"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblStart" runat="server" CssClass="label" Text="从" 
                                        meta:resourcekey="lblStart"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblEnd" runat="server" CssClass="label" Text="至" 
                                        meta:resourcekey="lblEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerStart" runat="server" CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerEnd" runat="server" CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerStart" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtOwnerStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerEnd" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtOwnerEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblSkuStart" runat="server" CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSkuEnd" runat="server" CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuStart" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtSkuStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSkuEnd" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtSkuEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblLocStart" runat="server" CssClass="label" Text="货位" 
                                        meta:resourcekey="lblLocStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLocEnd" runat="server" CssClass="label" Text="货位" 
                                        meta:resourcekey="lblLocEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtLocStart" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtLocStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLocEnd" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtLocEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblLocLevelStart" runat="server" CssClass="label" Text="货位层级" 
                                        meta:resourcekey="lblLocLevelStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblLocLevelEnd" runat="server" CssClass="label" Text="货位层级" 
                                        meta:resourcekey="lblLocLevelEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtLocLevelStart" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtLocLevelStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtLocLevelEnd" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtLocLevelEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblZoneIDStart" runat="server" CssClass="label" Text="储区" 
                                        meta:resourcekey="lblZoneIDStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblZoneIDEnd" runat="server" CssClass="label" Text="储区" 
                                        meta:resourcekey="lblZoneIDEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtZoneIDStart" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtZoneIDStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtZoneIDEnd" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtZoneIDEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblAreaIDStart" runat="server" CssClass="label" Text="区域" 
                                        meta:resourcekey="lblAreaIDStart"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblAreaIDEnd" runat="server" CssClass="label" Text="区域" 
                                        meta:resourcekey="lblAreaIDEnd"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtAreaIDStart" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtAreaIDStart"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtAreaIDEnd" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtAreaIDEnd"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chbShowSystemQty" runat="server" CssClass="checkbox" Enabled="False"
                                        Text="显示系统数量" meta:resourcekey="chbShowSystemQty" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chbOnlyNonEmptyLoc" runat="server" CssClass="checkbox" Enabled="False"
                                        Text="仅盘点非空货位" meta:resourcekey="chbOnlyNonEmptyLoc" />
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_2" style="display: none; overflow-x: auto; overflow-y:hidden;">
                        <table width="1300px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <asp:GridView ID="gvPcMainTenanceDetail" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            AllowPaging="True" CssClass="gridview" DataKeyNames="WHID,GROUPNO,STATUSMSG,PHYSICALREQUESTID,TAGNO,STATUS,SYSQTY,TEAMNO,COUNTQTY,COUNTBY,COUNTDATE,ADJQTY,OWNERID,SKUID,LOC,LOT,LPNID,PACKID,UOMID,CREATEDBY,CREATEDDATE"
                                            Width="1300px" OnRowDataBound="gvPcMainTenanceDetail_RowDataBound" oninit="gvPcMainTenanceDetail_Init" 
                                            OnPageIndexChanging="gvPcMainTenanceDetail_PageIndexChanging" 
                                            meta:resourcekey="gvPcMainTenanceDetail">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <PagerStyle CssClass="GridViewPageStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" 
                                                    meta:resourcekey="BoundField">
                                                    <ItemStyle CssClass="GridViewRowWidth_50" />
                                                </asp:BoundField>
                                                <asp:TemplateField meta:resourcekey="TemplateField">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox ID="CheckBox1" runat="server" 
                                                            onclick="selectAll(this,'gvPcMainTenanceDetail');" 
                                                            meta:resourcekey="CheckBox1" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" 
                                                            meta:resourcekey="chbSelect" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" 
                                                            onclick="selectAll(this,'gvPcMainTenanceDetail');" 
                                                            meta:resourcekey="CheckBox2" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="TAGNO" HeaderText="标签号" FooterText="标签号" 
                                                    SortExpression="TAGNO" meta:resourcekey="TAGNO">
                                                    <ItemStyle CssClass="GridViewRowWidth_50" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="STATUSD" HeaderText="状态" FooterText="状态" 
                                                    SortExpression="STATUSD" meta:resourcekey="STATUSD">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                  <asp:TemplateField FooterText="系统数量" HeaderText="系统数量" 
                                                    SortExpression="SYSQTY" meta:resourcekey="SYSQTY">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSysQty" runat="server" 
                                                            Text='<%# GetPreferenceDigit(Eval("SYSQTY").ToString()) %>' 
                                                            meta:resourcekey="lblSysQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="初盘数量" HeaderText="初盘数量" 
                                                    SortExpression="COUNTQTY" meta:resourcekey="COUNTQTY">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblCountQty" runat="server" 
                                                            Text='<%# GetPreferenceDigit(Eval("COUNTQTY").ToString()) %>' 
                                                            meta:resourcekey="lblCountQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="复盘数量" HeaderText="复盘数量" 
                                                    SortExpression="RECOUNTQTY" meta:resourcekey="RECOUNTQTY">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtRecountQty" runat="server" 
                                                            Text='<%# GetPreferenceDigit(Eval("RECOUNTQTY").ToString()) %>' 
                                                            meta:resourcekey="txtRecountQty"></asp:TextBox>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="调整数量" HeaderText="调整数量" SortExpression="ADJQTY" 
                                                    meta:resourcekey="ADJQTY">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblAdjQty" runat="server" 
                                                            Text='<%# GetPreferenceDigit(Eval("ADJQTY").ToString()) %>' 
                                                            meta:resourcekey="lblAdjQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="OWNERID" HeaderText="货主代码" FooterText="货主代码" 
                                                    SortExpression="OWNERID" meta:resourcekey="OWNERID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SKUID" HeaderText="货品代码" FooterText="货品代码" 
                                                    SortExpression="SKUID" meta:resourcekey="SKUID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LOT" HeaderText="批次号" FooterText="批次号" 
                                                    SortExpression="LOT" meta:resourcekey="LOT">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LPNID" HeaderText="LPN" FooterText="LPN" 
                                                    SortExpression="LPNID" meta:resourcekey="LPNID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LOC" HeaderText="货位" FooterText="货位" 
                                                    SortExpression="LOC" meta:resourcekey="LOC">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>                                              
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </td>
                            </tr>
                            <tr style="height: 30px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div id="actionDiv" style="background-color:#FFFFFF; position:absolute;display:none; border:none 0 black">
                 <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line" id="tdlnkbtnPcRequestTasks" runat="server"  visible="False" >
                             <asp:LinkButton ID="lnkbtnPcRequestTasks" runat="server"  Text="任务发放" 
                                 OnClick="btnPcRequestTasks_Click" ></asp:LinkButton>
                         </td>                          
                     </tr>                      
                      <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line" id="tdlnkbtnAdjustPCReview" runat="server"  visible="False" >
                             <asp:LinkButton ID="lnkbtnAdjustPCReview" runat="server"  Text="过账" 
                                 OnClick="btnAdjustPCReview_Click" ></asp:LinkButton>
                         </td>                          
                     </tr>
                 </table>
            </div>
                <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
                    <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnPrintPCReview" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnPrintPCReview" runat="server" Text="打印标签列表" 
                                    OnClientClick="popPrintPc();" ></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <input type="hidden" id="hdnPrID" runat="server" />
        <input type="hidden" id="hdnTagNo" runat="server" />
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnFlag" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />      
          <input type="hidden" id="hiddenReportFlag" />
          <input type="hidden" id="hiddenFlag" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--	
		 hiddenDiv();
			hiddenReportDiv();
			hiddenCalendarDiv();
		//-->
</script>

